﻿<%@ Page Language="VB" MasterPageFile="~/MasterCliente.master" AutoEventWireup="false" CodeFile="InsertarCliente.aspx.vb" Inherits="InsertarCliente" title="Página sin título" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table  style="width: 100%">
        <tr>
            <td align="center" colspan="2">
                <asp:Label ID="Label1" runat="server" Text="REGISTRO DE CLIENTES"></asp:Label>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Image ID="Image1" runat="server" Height="76px" 
                    ImageUrl="~/Pictures/clientes.jpg" Width="146px" />
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 235px">
                <asp:Label ID="Label2" runat="server" Text="NOMBRES"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtNombres" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                    ControlToValidate="txtNombres" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 235px">
                <asp:Label ID="Label3" runat="server" Text="APELLIDOS"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtApellidos" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                    ControlToValidate="txtApellidos" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 235px">
                <asp:Label ID="Label4" runat="server" Text="EMAIL"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtEmail" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="*"></asp:RequiredFieldValidator>
                <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                    ControlToValidate="txtEmail" ErrorMessage="RegularExpressionValidator" 
                    ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*">Email no 
                válido</asp:RegularExpressionValidator>
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 235px">
                <asp:Label ID="Label5" runat="server" Text="DIRECCION"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtDireccion" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                    ControlToValidate="txtDireccion" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 235px">
                <asp:Label ID="Label6" runat="server" Text="PAIS"></asp:Label>
            </td>
            <td align="left">
                <asp:DropDownList ID="ddlPais" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 235px">
                <asp:Label ID="Label7" runat="server" Text="USUARIO"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtUsuario" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" 
                    ControlToValidate="txtUsuario" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 235px">
                <asp:Label ID="Label8" runat="server" Text="PASSWORD"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" 
                    ControlToValidate="txtPassword" ErrorMessage="*"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td align="left" style="width: 235px">
                <asp:Label ID="Label9" runat="server" Text="CONFIRMA PASSWORD"></asp:Label>
            </td>
            <td align="left">
                <asp:TextBox ID="txtConfirmaPassword" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" 
                    ControlToValidate="txtConfirmaPassword" ErrorMessage="*"></asp:RequiredFieldValidator>
&nbsp;<asp:CompareValidator ID="CompareValidator1" runat="server" 
                    ControlToCompare="txtPassword" ControlToValidate="txtConfirmaPassword" 
                    ErrorMessage="RegularExpressionValidator">Passwords no son Iguales</asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2">
                <asp:Button ID="btnGrabar" runat="server" Text="GRABAR" />
            </td>
        </tr>
        <tr>
            <td align="left" colspan="2">
                <asp:Label ID="Label10" runat="server" Font-Bold="False" Font-Size="Medium" 
                    ForeColor="#FF3300" Text="* Datos Obligatorios"></asp:Label>
            </td>
        </tr>
    </table>
</asp:Content>

